package com.hncu.edu.info.manager.dao;

import com.hncu.edu.info.manager.domain.Teacher;

public interface BaseTeacherDao {

    //传递数组，查看老师
    public abstract Teacher[] findAllTeacher();

    //添加学生
    public abstract boolean addTeacher(Teacher teacher);

    //删除学生
    public abstract void deleteTeacher(String deleteId);
    //根据工号找索引位置
    public abstract int getIndex(String Id) ;

    //修改老师
    public abstract void updateTeacher(Teacher teacher);
}
